package com.xxl.job.admin;

import com.sq.universe.base.conf.XxlJobConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author xuxueli 2018-10-28 00:38:13
 */
@SpringBootApplication(scanBasePackages = {"com.sq.universe","com.xxl.job.admin"})
@MapperScan({"com.xxl.job.admin.dao","com.sq.universe.*.dao"})
//@EnableDiscoveryClient
public class XxlJobAdminApplication {

	public static ConfigurableApplicationContext springbootContext;

	public static void main(String[] args) {
		 springbootContext = SpringApplication.run(XxlJobAdminApplication.class, args);
	}

}